<?php foreach ($photo['photo'] as $pt) : ?>
	<div>
		<div>ID: <?php echo $pt['photo_id'] ?></div>
		<div>Time: <?php echo date('Y-m-d', strtotime('- ' . $pt['time_post'] . ' seconds')) ?></div>
		<div><?php echo $this->Html->image($pt['url_thumb']) ?></div>
	</div>
<?php endforeach; ?>